aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 15:28:27 +0200
committerLorenz Diener <[email protected]>2019-06-22 15:28:27 +0200
commit052b7f7cd319bd39f5c9db1b0322e9e4445a123e (patch)
treea4f02a2f738a477f2cde36e209bc29ab4df78ebc /tests/cassettes/test_status_post[None-public].yaml
parent1a120f03939d36bc14bda0931819db0ab45908af (diff)
downloadmastodon.py-052b7f7cd319bd39f5c9db1b0322e9e4445a123e.tar.gz
Test fixups pre-2.9.1
Diffstat (limited to 'tests/cassettes/test_status_post[None-public].yaml')
-rw-r--r--tests/cassettes/test_status_post[None-public].yaml31
1 files changed, 16 insertions, 15 deletions
diff --git a/tests/cassettes/test_status_post[None-public].yaml b/tests/cassettes/test_status_post[None-public].yaml
index 782becb..61c41ce 100644
--- a/tests/cassettes/test_status_post[None-public].yaml
+++ b/tests/cassettes/test_status_post[None-public].yaml
@@ -12,14 +12,13 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"101999517404414261","created_at":"2019-04-27T18:18:40.562Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/101999517404414261","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999517404414261","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"102315368734617546","created_at":"2019-06-22T13:03:49.381Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368734617546","url":"http://localhost/@mastodonpy_test/102315368734617546","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
17 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 18 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
19 headers: 19 headers:
20 Cache-Control: ['max-age=0, private, must-revalidate'] 20 Cache-Control: ['no-cache, no-store']
21 Content-Type: [application/json; charset=utf-8] 21 Content-Type: [application/json; charset=utf-8]
22 ETag: [W/"440d81c43ee412b39753000104355c5c"]
23 Referrer-Policy: [strict-origin-when-cross-origin] 22 Referrer-Policy: [strict-origin-when-cross-origin]
24 Transfer-Encoding: [chunked] 23 Transfer-Encoding: [chunked]
25 Vary: ['Accept-Encoding, Origin'] 24 Vary: ['Accept-Encoding, Origin']
@@ -27,10 +26,10 @@ interactions:
27 X-Download-Options: [noopen] 26 X-Download-Options: [noopen]
28 X-Frame-Options: [SAMEORIGIN] 27 X-Frame-Options: [SAMEORIGIN]
29 X-Permitted-Cross-Domain-Policies: [none] 28 X-Permitted-Cross-Domain-Policies: [none]
30 X-Request-Id: [e1de9e72-c618-4427-ade0-724845cd85d7] 29 X-Request-Id: [ccba7cbf-7e39-403d-bcfe-c1c82a2287b5]
31 X-Runtime: ['0.181610'] 30 X-Runtime: ['0.185054']
32 X-XSS-Protection: [1; mode=block] 31 X-XSS-Protection: [1; mode=block]
33 content-length: ['1598'] 32 content-length: ['1597']
34 status: {code: 200, message: OK} 33 status: {code: 200, message: OK}
35- request: 34- request:
36 body: null 35 body: null
@@ -42,13 +41,15 @@ interactions:
42 Content-Length: ['0'] 41 Content-Length: ['0']
43 User-Agent: [python-requests/2.18.4] 42 User-Agent: [python-requests/2.18.4]
44 method: DELETE 43 method: DELETE
45 uri: http://localhost:3000/api/v1/statuses/101999517404414261 44 uri: http://localhost:3000/api/v1/statuses/102315368734617546
46 response: 45 response:
47 body: {string: '{}'} 46 body: {string: '{"id":"102315368734617546","created_at":"2019-06-22T13:03:49.381Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368734617546","url":"http://localhost/@mastodonpy_test/102315368734617546","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
48 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
49 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
48 headers: 50 headers:
49 Cache-Control: ['max-age=0, private, must-revalidate'] 51 Cache-Control: ['no-cache, no-store']
50 Content-Type: [application/json; charset=utf-8] 52 Content-Type: [application/json; charset=utf-8]
51 ETag: [W/"0a9aec0fd817fe9e3d1bda0e4b5990e1"]
52 Referrer-Policy: [strict-origin-when-cross-origin] 53 Referrer-Policy: [strict-origin-when-cross-origin]
53 Transfer-Encoding: [chunked] 54 Transfer-Encoding: [chunked]
54 Vary: ['Accept-Encoding, Origin'] 55 Vary: ['Accept-Encoding, Origin']
@@ -56,9 +57,9 @@ interactions:
56 X-Download-Options: [noopen] 57 X-Download-Options: [noopen]
57 X-Frame-Options: [SAMEORIGIN] 58 X-Frame-Options: [SAMEORIGIN]
58 X-Permitted-Cross-Domain-Policies: [none] 59 X-Permitted-Cross-Domain-Policies: [none]
59 X-Request-Id: [1bc6f4c2-82b4-4c01-b3e2-3aa8a89ac511] 60 X-Request-Id: [23952bd9-034f-4636-b257-9726453571d8]
60 X-Runtime: ['0.049162'] 61 X-Runtime: ['0.102749']
61 X-XSS-Protection: [1; mode=block] 62 X-XSS-Protection: [1; mode=block]
62 content-length: ['2'] 63 content-length: ['1567']
63 status: {code: 200, message: OK} 64 status: {code: 200, message: OK}
64version: 1 65version: 1
Powered by cgit v1.2.3 (git 2.41.0)